package com.lsy.weizhi2.JsonObject;

import java.util.List;

/**
 * Created by 嗨哟 on 2017/4/21.
 */
public class DiTu {

    /**
     * result : true
     * message :
     * error :
     * data : [{"id":12,"firstCategoryId":1,"secondCategoryId":5,"type":1,"title":"测试5图","content":"测试5图","photo":null,"price":510,"priceMethod":0,"phoneType":0,"phoneReward":null,"city":"武汉","latitude":30.570958,"longitude":114.27085,"clickCount":0,"replyCount":15,"dealCount":0,"status":0,"orderLevel":0,"createTime":"2017-04-19 18:06:28","updateTime":"2017-04-20 14:38:29","createUserId":2,"createUsername":"wz2","updateUserId":2,"updateUsername":"wz2","realName":"wz2","avatar":0},{"id":15,"firstCategoryId":0,"secondCategoryId":1,"type":1,"title":"标题","content":"内容","photo":null,"price":100,"priceMethod":0,"phoneType":0,"phoneReward":0,"city":"027","latitude":30.57,"longitude":114.27,"clickCount":0,"replyCount":0,"dealCount":0,"status":0,"orderLevel":0,"createTime":"2017-04-21 15:36:04","updateTime":"2017-04-21 15:36:04","createUserId":2,"createUsername":"wz2","updateUserId":2,"updateUsername":"wz2","realName":"wz2","avatar":0},{"id":16,"firstCategoryId":0,"secondCategoryId":1,"type":1,"title":"标题","content":"内容","photo":null,"price":100,"priceMethod":0,"phoneType":0,"phoneReward":0,"city":"武汉","latitude":30.57,"longitude":114.27,"clickCount":0,"replyCount":0,"dealCount":0,"status":0,"orderLevel":0,"createTime":"2017-04-21 15:36:24","updateTime":"2017-04-21 15:36:24","createUserId":2,"createUsername":"wz2","updateUserId":2,"updateUsername":"wz2","realName":"wz2","avatar":0}]
     */

    private boolean result;
    private String message;
    private String error;
    private List<DataBean> data;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 12
         * firstCategoryId : 1
         * secondCategoryId : 5
         * type : 1
         * title : 测试5图
         * content : 测试5图
         * photo : null
         * price : 510
         * priceMethod : 0
         * phoneType : 0
         * phoneReward : null
         * city : 武汉
         * latitude : 30.570958
         * longitude : 114.27085
         * clickCount : 0
         * replyCount : 15
         * dealCount : 0
         * status : 0
         * orderLevel : 0
         * createTime : 2017-04-19 18:06:28
         * updateTime : 2017-04-20 14:38:29
         * createUserId : 2
         * createUsername : wz2
         * updateUserId : 2
         * updateUsername : wz2
         * realName : wz2
         * avatar : 0
         */

        private int id;
        private int firstCategoryId;
        private int secondCategoryId;
        private int type;
        private String title;
        private String content;
        private Object photo;
        private int price;
        private int priceMethod;
        private int phoneType;
        private Object phoneReward;
        private String city;
        private double latitude;
        private double longitude;
        private int clickCount;
        private int replyCount;
        private int dealCount;
        private int status;
        private int orderLevel;
        private String createTime;
        private String updateTime;
        private int createUserId;
        private String createUsername;
        private int updateUserId;
        private String updateUsername;
        private String realName;
        private int avatar;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getFirstCategoryId() {
            return firstCategoryId;
        }

        public void setFirstCategoryId(int firstCategoryId) {
            this.firstCategoryId = firstCategoryId;
        }

        public int getSecondCategoryId() {
            return secondCategoryId;
        }

        public void setSecondCategoryId(int secondCategoryId) {
            this.secondCategoryId = secondCategoryId;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public Object getPhoto() {
            return photo;
        }

        public void setPhoto(Object photo) {
            this.photo = photo;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public int getPriceMethod() {
            return priceMethod;
        }

        public void setPriceMethod(int priceMethod) {
            this.priceMethod = priceMethod;
        }

        public int getPhoneType() {
            return phoneType;
        }

        public void setPhoneType(int phoneType) {
            this.phoneType = phoneType;
        }

        public Object getPhoneReward() {
            return phoneReward;
        }

        public void setPhoneReward(Object phoneReward) {
            this.phoneReward = phoneReward;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public double getLatitude() {
            return latitude;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }

        public double getLongitude() {
            return longitude;
        }

        public void setLongitude(double longitude) {
            this.longitude = longitude;
        }

        public int getClickCount() {
            return clickCount;
        }

        public void setClickCount(int clickCount) {
            this.clickCount = clickCount;
        }

        public int getReplyCount() {
            return replyCount;
        }

        public void setReplyCount(int replyCount) {
            this.replyCount = replyCount;
        }

        public int getDealCount() {
            return dealCount;
        }

        public void setDealCount(int dealCount) {
            this.dealCount = dealCount;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getOrderLevel() {
            return orderLevel;
        }

        public void setOrderLevel(int orderLevel) {
            this.orderLevel = orderLevel;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getCreateUserId() {
            return createUserId;
        }

        public void setCreateUserId(int createUserId) {
            this.createUserId = createUserId;
        }

        public String getCreateUsername() {
            return createUsername;
        }

        public void setCreateUsername(String createUsername) {
            this.createUsername = createUsername;
        }

        public int getUpdateUserId() {
            return updateUserId;
        }

        public void setUpdateUserId(int updateUserId) {
            this.updateUserId = updateUserId;
        }

        public String getUpdateUsername() {
            return updateUsername;
        }

        public void setUpdateUsername(String updateUsername) {
            this.updateUsername = updateUsername;
        }

        public String getRealName() {
            return realName;
        }

        public void setRealName(String realName) {
            this.realName = realName;
        }

        public int getAvatar() {
            return avatar;
        }

        public void setAvatar(int avatar) {
            this.avatar = avatar;
        }
    }
}
